﻿using MrPP.Helper;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

using Mirror;

namespace MrPP.SerriedCabinet
{
    public class WindowFactory : NetworkBehaviour
    {
        public void create()
        {
            if (this.isServer) { 
                GameObject instance = NetworkManager.singleton.create("Window");
                NetworkServer.Spawn(instance);

            }
        }
    }
}